package com.modle;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;

import com.matang.R;

public class CFriendLabel implements IFriend{

	public String catName;
	
	
	public CFriendLabel(String catName) {
		super();
		this.catName = catName;
	}
	@Override
	public int getLayout() {
		return R.layout.list_item_contact_label;
	}
	@Override
	public boolean isClickable() {
		return false;
	}
	@Override
	public View getView(Context context, View convertView,
			LayoutInflater inflater) {
		 convertView = inflater.inflate(getLayout(), null);
		       TextView titTv = (TextView) convertView;
//		   TextView titTv = (TextView) convertView.findViewById(R.id.label_tv);
		     titTv.setText(catName);
	      return convertView;
	}
}
